<?php $this->load->module('mobile/index/header', $common); ?>
<link rel="stylesheet" type="text/css" href="<?php echo URLPRE; ?>static/template/<?php echo MOBILE_TEMPLATE_NAME ?>/mobile/css/c_color_b.css" />

<div class="lineDetails">
    <div class="detailstoppic">
        <img src="<?php echo filter_img($row['gallery'][0]['url']); ?>" />
        <div class="nsc">
            <div class="number">
                <p> <?php

                    $dist = $row['product_sort_name'] . ( $row['dist'] ? ' | ' . $row['dist'] : '');
                    echo $dist ? $dist : $row['short_name'] ?></p>
                产品编号:<?php echo $row['line_number']; ?></div>
            <div class="sc">
                <a href="javascript:void(0)" class="share"><i></i> <br />
                    <span>分享</span></a>
                <!--<a href="javascript:void(0)" class="collection"><i></i><br />
                    <span>收藏</span></a>-->
            </div>
        </div>
    </div>
    <div class="detailsItro">
        <ul>
            <li class="title">
                <h1> <?php echo $row['line_name'] ?></h1> <?php echo $row['short_name']; ?>
            </li>
        </ul>
    </div>
    <div class="price-details-new" id="BuyTool">
        <dl>
            <dt><span class="sale"> <?php echo $row['low_price'] ? '<b>&yen;' . $row['low_price'] . '</b>元起' : '<b>电询</b>'; ?></span><?php echo $fee_string?></dt>
            <dd>
                <?php if(!ADMINID){?>
                <a href="<?php echo site_url('mobile/line/order?id=' . $row['line_id'] . '&referer=' . urlencode(urlencode($_SERVER['REQUEST_URI']))) ?>">订购</a>
                <?php }else{?>
                <a style="display:none"></a>
                <?php }?>
                <?php if($row['sid']==33262):?>
                    <a href="<?php echo site_url('mobile/line/order_tel?id='.$row['line_id'])?>">电话预定</a>
                <?php else:?>
                    <a href="tel:<?php echo $_GET['eid'] ? $_COOKIE['from_tel'] : $site_service_phone ?>">咨询</a>
                <?php endif;?>

            </dd>
        </dl>
    </div>
    <div class="introtitle">
        <div class="title t">
            <a href="javascript:void(0)"><i></i>团期价格</a>
        </div>
        <?php if ($go){
        if(DEBUG){
            print_r($go);
        }
        ?>
        <div class="content" style="display:none">
            <ul>
            <?php foreach ($go as $k => $v) { ?>
                <li style="clear:both;line-height:40px;padding-left:10px;border-bottom:1px solid #fff">
                    <span><?php echo $v['go_date'] . $v['week'] ?></span>
                    <span><?php echo $v['price']; ?></span>
<!--                    --><?php //foreach ($v['price_list'] as $kk => $price) { ?>
<!--                        <span>--><?php //echo $price['price_name'], '&nbsp;&nbsp;￥', $price['ws_price']; ?><!--</span>-->
<!--                    --><?php //} ?>
                </li>
            <?php } ?>
            </ul>
        </div>
            <?php } ?>
        <div class="title c"> <a href="javascript:void(0)"><i></i>行程特色</a></div>
        <div class="content" id="xcts">
            <p class="green_color1"><b>产品特色</b></p>
            <ol class="text_list_1">
                <?php echo nl2br(trim($info['line_trait'])) ?>
            </ol>
        </div>
        <div class="title x"> <a href="javascript:void(0)"><i></i>行程介绍</a></div>
        <div class="content" id="xcjs">
            <div class="itinerary">
                            <?php if($info['line_day_sort']==2){$days=array(); echo '<style type="text/css">.simple img{width:100%}
.simple table {border-collapse: collapse;
    width: 100%!important;}
.simple table td{border:1px solid #888!important;font-size:12px;
    padding: 0 2px;}
.simple table td *{font-size: 12px!important;}
</style><div class="simple">'.preg_replace('/(width\="\d+"|style\=".*?")/i', '', $info['simple_line_day']) .'</div>'; }?>

                <?php foreach ($days as $k => $v): ?>
                    <div class="day"><span>D<?php echo $k + 1; ?></span></div>
                    <div class="intro">
                    <div class="where" style="margin:0 0 10px 0"><?php echo $v['title']; ?>
                        <span style="color:#999;font-size:18px;display:inline-block;margin-left:10px" class="exp_where">展开</span></div>
                    <div class="txt" style="display:none">
                        <?php echo $v['info']; ?>
                    </div>
                    <div class="passingby">
                        <div class="pic">
                            <ul>
                                <?php foreach ($v['scenics_list'] as $vs): ?>
                                    <?php foreach ($vs['gallery'] as $vg): ?>
                                        <li>
                                        <img alt="<?php echo $v['name'] ?>" class="lazy" src="<?php echo URLPRE; ?>static/public/images/nophoto.jpg" onerror="this.error=null;this.src='<?php echo URLPRE; ?>static/public/images/nophoto.jpg'" _src="<?php echo filter_img($vg['url']) ?>" style="display: inline-block;">
                                            <?php echo $vg['name']; ?>
                                            <div></div>
                                    </li>
                                    <?php endforeach; ?>
                                <?php endforeach; ?>
                            </ul>
                        </div>
                    </div>
                    <div class="eatTolive">
                        <ul>
                            <li><span>用餐</span>早餐 <?php echo $v['breakfast']; ?>;午餐 <?php echo $v['lunch']; ?>
                                ;晚餐 <?php echo $v['supper']; ?>
                            <li><span>住宿</span><?php echo $v['hotel'] ? $v['hotel'] : '无' ?></li>
                        </ul>
                    </div>
                </div>
                <?php endforeach; ?>
            </div>
        </div>
        <div class="title f"> <a href="javascript:void(0)"><i></i>费用说明</a></div>
        <div class="content" id="fysm" style="display:none;"> <b>费用包含:</b><br />
            <?php echo nl2br(trim($info['costin'])); ?>
            <br />
            <b>费用不包含:</b><br />
            <?php echo nl2br(trim($info['costout'])); ?>
        </div>
        <div class="title y"> <a href="javascript:void(0)"><i></i>预定须知</a></div>
        <div class="content" id="ydxz" style="display:none;">
            <?php if ($info['remind']): ?>
                <div class="transparent_p">
                    <p><b>【友情提醒】</b> <br><?php echo strip_tags(nl2br(trim($info['remind'])), '<br>') ?></p>
                </div>
            <?php endif; ?>
            <?php if ($info['enroll_know']): ?>
                <div class="transparent_p">
                    <p><b>【参团须知】</b> <br><?php echo strip_tags(nl2br(trim($info['enroll_know'])), '<br>') ?></p>
                </div>
            <?php endif; ?>
            <?php if ($info['ddzx']): ?>
                <div class="transparent_p">
                    <p><b>【当地咨询】</b> <br><?php echo strip_tags(nl2br(trim($info['ddzx'])), '<br>') ?></p>
                </div>
            <?php endif; ?>
            <?php if ($info['aqwt']): ?>
                <div class="transparent_p">
                    <p><b>【安全问题】</b> <br><?php echo strip_tags(nl2br(trim($info['aqwt'])), '<br>') ?></p>
                </div>
            <?php endif; ?>
            <?php if ($info['cydh']): ?>
                <div class="transparent_p">
                    <p><b>【常用电话】</b> <br><?php echo strip_tags(nl2br(trim($info['cydh'])), '<br>') ?></p>
                </div>
            <?php endif; ?>
            <?php if ($info['xqzb']): ?>
                <div class="transparent_p">
                    <p><b>【行前准备】</b> <br><?php echo strip_tags(nl2br(trim($info['xqzb'])), '<br>') ?></p>
                </div>
            <?php endif; ?>
            <?php if ($info['zftj']): ?>
                <div class="transparent_p">
                    <p><b>【自费推荐】</b> <br><?php echo strip_tags(nl2br(trim($info['zftj'])), '<br>') ?></p>
                </div>
            <?php endif; ?>
            <?php if ($info['upgrade']): ?>
                <div class="transparent_p">
                    <p><b>【产品升级】</b> <br><?php echo strip_tags(nl2br(trim($info['upgrade'])), '<br>') ?></p>
                </div>
            <?php endif; ?>
        </div>
<!--        <div class="title yk"> <a href="javascript:void(0)"><i></i>游客点评</a></div>-->
<!--        <div class="content_new" id="ykdp">-->
<!--            <div class="evaluation">-->
<!--                <ul>-->
<!--                </ul>-->
<!--            </div>-->
<!--        </div>-->
<!--        <div class="title z"> <a href="javascript:void(0)"><i></i>在线咨询</a></div>-->
<!--        <div class="content_new" id="zxzx">-->
<!--            <div class="ask">-->
<!--                <dl>-->
<!--                    <dt>咨询内容：</dt>-->
<!--                    <dd>济南好玩吗？现在去冷吗-->
<!--                        <p>&nbsp;&nbsp;&nbsp;&nbsp;14-11-12 13:23</p>-->
<!--                    </dd>-->
<!--                </dl>-->
<!--                <dl>-->
<!--                    <dt>通通回复：</dt>-->
<!--                    <dd>您好！肯定好玩呀这段时间比较冷,您可以多点衣服。想了解更多关于济南的旅游信息可以咨询我们的在线客服。</dd>-->
<!--                </dl>-->
<!--            </div>-->
<!--            <div class="ask"> <a href="javascript:void(0)" onClick="onaskinfo()" class="wantAsk">我要咨询</a></div>-->
        </div>
    </div></div><!--<div class="wouldLike">--><!--    <div class="title"> 也许你还会喜欢</div>--><!--    <div class="content">--><!--        <ul class="lineList1">--><!--            <li><a href="detail.html?id=72924" target="_blank"> <img src="images/20120525114251250056272.jpg" data-original="images/20120525114251250056272.jpg" alt="济南1日游"></a>--><!--                <p> <a href="detail.html?id=72924"> 济南1日游</a>&yen;150起</p>--><!--            </li>--><!--            <li><a href="detail.html?id=102803" target="_blank"> <img src="images/20120606142913921050788.jpg" data-original="images/20120525114251250056272.jpg" alt="金象山平日滑雪1日游"></a>--><!--                <p> <a href="detail.html?id=102803"> 金象山平日滑雪1日游</a>&yen;160起</p>--><!--            </li>--><!--        </ul>--><!--    </div>--><!--</div>-->










<?php $this->load->module('mobile/index/footer', $common); ?>
<script type="text/javascript">
    $(function () {

        $('#callPhone').click(function () {
            $.dialog({
                style: 'tip',
                width: 200,
                closeTime: 3500,
                content: '<p style="text-align: center">请致电：<a style="color:#00A2D4;text-decoration: underline;" href="tel:<?php echo $site_service_phone ;?>"><?php echo $site_service_phone ;?></a></p>'
            }).open();

        })

        var slid = $("#sliderimg").slider({
            loop: true
        });
    });

    $('.introtitle .title').click(function () {
        $(this).next('.content').toggle('fast');
    });
    $('.where').click(function () {
        $(this).find('.exp_where').toggle();
        $(this).next('.txt').toggle('fast');
    });
    $('.share').click(function () {
        $('#guider').show();
    });
</script>
<div style="background:rgba(0,0,0,.5) url(<?php echo URLPRE . 'static/template/xuzhou/mobile/images/guide.png' ?>) no-repeat center 0;position:fixed;top:0;left:0;bottom:0;right:0;z-index:9999;display:none;" onclick="this.style.display = 'none'" id="guider"></div>
<?php echo $linesharehtml?>